package de.arnoldmedia.mybookshelf.resources.model;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 * @author aarnold
 * @version 1.0
 * @date 22.02.2009
 * 
 */
@XmlRootElement(name = "book")
@XmlType(name = "bool", propOrder = { "author", "title", "publisher", "isbn" })
public class Book {

	private String title;
	private String author;
	private String publisher;
	private String isbn;

	public Book() {

	}

	public Book(String title, String author, String publisher, String isbn) {
		super();
		this.title = title;
		this.author = author;
		this.publisher = publisher;
		this.isbn = isbn;
	}// Book

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public String getIsbn() {
		return isbn;
	}

	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}

}// class

